#!/bin/bash

read -p "请输入编译类型[Debug/Release]: " BUILD_TYPE
echo "BUILD_TYPE: $BUILD_TYPE"

cd build

cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..

make -j4